package com.tamll.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;

@NoArgsConstructor
@TableName("review")
@AllArgsConstructor
@Data
public class Review {
    @TableField("review_id")
    private Integer reviewId/*评论ID*/;
    @TableField("review_content")
    private String reviewContent/*评论内容*/;
    @TableField("review_createdate")
    private Date reviewCreatedate/*评论时间*/;
    @TableField("review_user_id")
    private User reviewUserId/*评论对应用户*/;
    @TableField("review_product_id")
    private Product reviewProductId/*评论对应产品*/;
    @TableField("review_orderItem_id")
    private ProductOrderItem reviewOrderItemId/*评论对应订单项*/;
}
